<!-- Menu -->
<div class="navbar">
  <div class="navbar-inner">
	<div class="container">
	 
	  <div class="navbar">
	  <a class="btn btn-small pull-right" href="logout"><i class="icon-user"></i> {{session.username}}</a>
	  <ul class="nav nav-pills">
		<li><a href="home-admin"><i class="icon-home"></i> Accueil</a></li>
		<li class="divider-vertical"></li>
		<li class="dropdown">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-user"></i> Clients <b class="caret"></b></a>
			<ul class="dropdown-menu">
				<li><a href="liste-client"><i class="icon-th-list"></i> Liste des clients</a></li>
				{% if not(session.niveauAuth=='9') %}
				<li><a href="creation-compte-client"><i class="icon-plus"></i> Créer un nouveau client </a></li>
				{% endif %}
			</ul>
		</li>
		<li class="divider-vertical"></li>
		<li class="dropdown">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-shopping-cart"></i> Commandes <b class="caret"></b></a>
			<ul class="dropdown-menu">
				<li><a href="liste-commande"><i class="icon-th-list"></i> Liste des commandes</a></li>
				<!--  <li><a href="creation-commande"><i class="icon-plus"></i> Cr�er un nouvelle commande </a></li>-->
			
			</ul>
		</li>
		{% if not(session.niveauAuth=='6')and not (session.niveauAuth=='9') %}
		<li class="divider-vertical"></li>
        <li class="dropdown">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-list-alt"></i> Facturation <b class="caret"></b></a>
			<ul class="dropdown-menu">
				<li><a href="chargement-cdr"><i class="icon-th-list"></i> Chargement CDR</a></li>
				<li><a href="lancement-facture"><i class="icon-share-alt"></i> Lancement des factures</a></li>
			</ul>
		</li>
         {% endif %}     
	        
		<li class="divider-vertical"></li>
        <li class="dropdown">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-leaf"></i> Administration<b class="caret"></b></a>
			<ul class="dropdown-menu">
					{% if not(session.niveauAuth=='3') %}
					<li><a href="sim-swap"><i class="icon-resize-small"></i> SIM SWAP</a></li>
					
					{% endif %}
					
					<li class="dropdown-submenu">
					{% if (session.niveauAuth=='1')or(session.niveauAuth=='5')or(session.niveauAuth=='8')or(session.niveauAuth=='3')%}
					<a href="#"><i class="icon-edit"></i> Gestion des offres d'achat</a>
					{% endif %}
					  <ul class="dropdown-menu">
                    {% if (session.niveauAuth=='1')or(session.niveauAuth=='5')or(session.niveauAuth=='8')  %}
					<li><a href="achat-offre-mobile"><i class="icon-edit"></i> Table achat offre mobile </a></li>
					<li><a href="achat-option-mobile"><i class="icon-edit"></i> Table achat option mobile</a></li>
					{% endif %}
					{% if (session.niveauAuth=='1')or(session.niveauAuth=='5')or(session.niveauAuth=='8')or(session.niveauAuth=='3')  %}
					<li><a href="achat-offre-fixe"><i class="icon-edit"></i> Table achat offre fixe </a></li>
					<li><a href="achat-option-fixe"><i class="icon-edit"></i> Table achat option fixe </a></li>
					{% endif %}
					{% if (session.niveauAuth=='1')or(session.niveauAuth=='5')or(session.niveauAuth=='8')or(session.niveauAuth=='3')  %}
					<li><a href="liste-pays-international-fixe-mobile"><i class="icon-edit"></i> Liste pays international </a></li>
					{% endif %}
                    
        </ul>
    </li>
				<li class="dropdown-submenu">
				{% if not(session.niveauAuth=='9') %}
					<a href="#"><i class="icon-edit"></i> Gestion des offres de ventes</a>
					{% endif %}
					  <ul class="dropdown-menu">
                   {% if not(session.niveauAuth=='3') and not (session.niveauAuth=='9')  %}
					<li><a href="vente-offre-mobile"><i class="icon-edit"></i> Table vente offres mobiles </a></li>
					<li><a href="vente-option-mobile"><i class="icon-edit"></i> Table vente options mobiles</a></li>
                    {% endif %}
                     {% if not(session.niveauAuth=='3')and not (session.niveauAuth=='9') %}
                    <li><a href="ve-terminal-mobile"><i class="icon-edit"></i> Table vente Terminaux mobiles</a></li>
                    {% endif %}
                     {% if not(session.niveauAuth=='2')and not(session.niveauAuth=='5')and not(session.niveauAuth=='6')and not (session.niveauAuth=='9') %}
                    <li><a href="ve-offre-fixe"><i class="icon-edit"></i> Table vente offres fixes</a></li>
                    <li><a href="ve-option-fixe"><i class="icon-edit"></i> Table vente option fixe</a></li>
                    {% endif %}
                    {% if not(session.niveauAuth=='2')and not(session.niveauAuth=='5')and not(session.niveauAuth=='6') and not (session.niveauAuth=='9') %}
                    <li><a href="ve-terminal-fixe"><i class="icon-edit"></i> Table vente Terminaux fixes</a></li>
                    {% endif %}
                    {% if not(session.niveauAuth=='2')and not(session.niveauAuth=='5')and not(session.niveauAuth=='6')and not (session.niveauAuth=='8') and not (session.niveauAuth=='9') %}
                    <li><a href="ve-terminal-xdsl"><i class="icon-edit"></i> Table vente Terminaux Xdsl</a></li>
                    {% endif %}
                    <li><a href="ve-terminal-ponctuel"><i class="icon-edit"></i> Table Matériels & Services</a></li>
                   
        </ul>
    </li>		
									
					
				<li class="dropdown-submenu">
				{% if not(session.niveauAuth=='9') %}
					<a href="#"><i class="icon-edit"></i> Gestion des tarifs minutes</a>
					{% endif %}
					  <ul class="dropdown-menu">
                   {% if not(session.niveauAuth=='2')and not(session.niveauAuth=='5')and not(session.niveauAuth=='6')and not (session.niveauAuth=='8')and not(session.niveauAuth=='9') %}
                     <li><a href="grille-tarif-voip"><i class="icon-edit"></i>  Grille tarifaire minute VOIP</a></li>
                     {% endif %}
                     {% if not(session.niveauAuth=='2')and not(session.niveauAuth=='5')and not(session.niveauAuth=='6') and not (session.niveauAuth=='9') %}
                     <li><a href="grille-tarif-vga"><i class="icon-edit"></i>  Grille tarifaire minute VGA</a></li>
                     {% endif %}
                     {% if not(session.niveauAuth=='9') %}
                     <li><a href="grille-tarif-mobile"><i class="icon-edit"></i> Grille tarifaire minute mobile</a></li>
					 {% endif %}
                    
        </ul>
    </li>
				
						<li class="dropdown-submenu">
					{% if not(session.niveauAuth=='9')and not(session.niveauAuth=='3') %}	
					<a href="#"><i class="icon-edit"></i> Gestion </a>
					{% endif %}
					  <ul class="dropdown-menu">
					  {% if not(session.niveauAuth=='3') %}
					
					<li><a href="chargement-carte-sim"><i class="icon-th-list"></i> Import fichier carte sim</a></li>
					{% endif %}
					  
                  	{% if (session.niveauAuth=='1') or(session.niveauAuth=='5')or(session.niveauAuth=='8') %}
					<li><a href="changement-statuts-sim"><i class="icon-edit"></i> Changement statut Sim </a></li>
					{% endif %}
					
					{% if (session.niveauAuth=='1')  %}
					<li><a href="liste-utilisateur-admin"><i class="icon-edit"></i> Liste des utilisateurs admin </a></li>
					{% endif %}
					{% if (session.niveauAuth=='1') %}
					<li><a href="gestion-bas-facture"><i class="icon-edit"></i> Gestion bas Facture </a></li>
					{% endif %}
                    
        </ul>
    </li>	
                     
                    
                    
					 
				</ul>
		</li>

		<li class="divider-vertical"></li>
		<li><a href="#"><i class="icon-comment"></i> Support</a></li>
	  </ul>
	  </div>
	</div>
  </div>
</div><!-- /.navbar -->